import {mutableHandler} from './mutableHandler.js';

export default function reactive(target) {
  if (typeof target !== 'object') return target;

  return new Proxy(target, mutableHandler);
}
